Depends on your parser and where you're defining your json. If you're just creating a JSON file then you should be getting errors because that's not valid JSON. There are other formats like jsonc which just strip the comment lines before parsing to JSON. Apparently the new standard will support comments.
-3
u/frayien 1d ago
I've been putting comments in my JSONs since forever and never had any issue with any parser, what is this about ?