Skip to content

Option to turn off JSON comment warnings #47418

@ghost

Description

  • VSCode Version: 1.22.1
  • OS Version: Windows 10

Steps to Reproduce:

  1. Make new JSON file.
  2. Add some comments.
  3. Comments are displayed with red underlines as warnings.

Does this issue occur when all extensions are disabled?: Yes/No
Yes

Could you please add option to disable JSON comment warnings? Some JSON binding libraries have "easy mode" when parsing JSON content, which allows comments. I searched settings but couldn't find one to disable those warnings.

I notice the settings have comments in there, and no warnings are shown.

Thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    jsonJSON support issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions