strip comments from configuration file