bahmutov 4014 days ago. link 3 points ▲ ▼We wrote a nodejs wrapper that hooks into require and removes comments automatically when you use require('/path/to/file.json') https://github.com/uTest/autostrip-json-comments
tjansen 4015 days ago. link 2 points ▲ ▼Shameless plug: I wrote something similar, which also supports comments in JSON, but also adds multiline comments some some other conveniences. https://github.com/timjansen/hanson