This may be heretical but surely the problem isn't lack of comments et al in JSON, rather that people try to use JSON for everything, when it was designed to be a text representation of javascript objects?
If it was really designed for representing JS objects then it was really bad job.
Neither JSON supports JS objects (lack of NaN) nor JS supports JSON (lack of arbitrary precision decimals).
If it was really designed for representing JS objects then it was really bad job.
Neither JSON supports JS objects (lack of NaN) nor JS supports JSON (lack of arbitrary precision decimals).