Promblem with JSON comment formatting


So I’m not sure when it started, but the line commenting in my JSON files has gone all wonky.
Using cmd-/ ( for both the default & emmet “comment out line” options)
it defaults to multi-line comments ( /* ... */).
Moreover, both those and normal // comments are highlighted red.

Anyone know how I can set the comment-toggle to // or why the comments are being highlighted?


Comments inside JSON documents aren’t supported.


Try this too for JSON formatting JSON Editor


Hmm well that makes a lot of sense. I usually use vscode and it doesn’t throw an error for comments in JSON.
I assume it’d be a problem when you try to use the file though… Thanks y’all.