microsoft/node-jsonc-parser

Interference between comment endings and glob's notations

ahuglajbclajep opened this issue · 1 comments

The following jsonc causes a parse error on VS Code 1.48.0.

{
  /*
  "files.exclude": {
    "**/node_modules": true
  }
  */
}

That as designed, the comment ends with the first occurrence of */ and that how it is for many other languages.
The comment content is just pure text. There's no syntax like quoted strings defined for comment content.