Someone else already mentioned JSON5 (
https://json5.org/), which is JSON with a few ergonomic improvements, including comments. Hjson (
https://hjson.org/) is a similar, slightly more complex format with a few extra features such as unquoted strings for object values.