remove comments from config