I sometimes use Visual Studio Code to edit JSON files that include comments. VS Code displays an error saying, "Comments are not permitted in JSON." It would be nice to disable that error message (without having to remove the comments.)
Follow these steps:
jsonc
and press Enter.If you only want to disable the error message for a single file, skip step #2.