strip comments from configuration