Generic comment parser/serializer for css, and js