remove comments during mappings parsing