Handle comments in config file