News for hackers. Stuff that matters.
Re:The rise and rise of JSON (2017) by fenwick67 on Friday August 24, 2018 @08:52AM (#17834595)
I actually like that JSON has no comments.

With comments in a data transmission format you will end up with things like "conditional comments" in IE.

I agree there are certainly many better configuration languages.

Re:The rise and rise of JSON (2017) by ktpsns on Wednesday September 05, 2018 @01:31PM (#17920159)
I agree, but you can do context switchs also without having comments. For instance, the JSON Schema defines (Source: https://json-schema.org/latest/json-schema-core.html#rfc.sec...)

  {
     '$comment': "string that can hold whatever you want"
  }
and it is obvious that you can embed any other language in a string.