Use a dictionary approach, and pop to remove comments when processed - this fixes errors around comments being duplicated in different parts of the Mapfile.
Also allow comments to be saved within a PROJECTION block.
coverage: 91.892% (-0.1%) from 91.994% when pulling b36da2a97ad9fdbc274054390703132335cb6a58 on comment-fixes into 5d6f35a84685c8258c78788d6746d1b3cb9d564f on master.
Use a dictionary approach, and
pop
to remove comments when processed - this fixes errors around comments being duplicated in different parts of the Mapfile.Also allow comments to be saved within a PROJECTION block.