There is also jsonc
aka “JSON with comments”, created by Microsoft and used by Visual Studio Code. The logic for it can be found here, alas without exhaustive specification (though I’d like to be proven wrong on this).
On top of that there is this project with an actual specification which is also called jsonc
, but also does far more than just adding comments.
While there definitely is a use for these technologies, some critical thinking is advised. JSON containing comments is not JSON.