JSON is processed as if it were JavaScript. I have tested it (see examples/simple-jsbeautifyrc/test.json) and it works as expected and supports comments!