Get the latest tech news
JSON parsers that can accept comments
now what you've been told. Douglas Crockford said that JSON can't have comments.
You can put comments in JSON files if you know they're going to be read only by a reasonable parser. If you maintain a parser, you can make it accept comments and nothing bad will happen! Those are fine; not bad necessarily, but just a bit unnecessary, because there are no downsides to making a regular JSON parser accept comments.
Or read this on Hacker News