title: Why does VS Code allow comments in JSON files within .vscode but not elsewhere?
body: <p>I'm working through a project that's in progress, and I'm making notes within the files to explain the purpose of existing code. One of the things I noticed is that VS Code allows (and even comes with) comments for JSON files within the <code>.vscode</code> folder. Here's <code>.vscode/extensions.json</code>.</p>
  <p><a href="https://i.stack.imgur.com/sRcwt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sRcwt.png" alt="enter image description here" /></a></p>
  <p>But if I try to add comments in JSON files elsewhere, I'm told that comments aren't allowed.</p>
  <p><a href="https://i.stack.imgur.com/EAat0.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EAat0.png" alt="enter image description here" /></a></p>
  <p>I understand how to fix this with a custom setting, but is this basically Microsoft breaking the rules and allowing comments in JSON it's going to read from even though JSON doesn't allow comments, but enforcing the comment ban in files that it isn't going to read from?</p>
  <p>And, since while Microsoft may allow comments in JSON they're reading, whoever's reading other JSON configuration files may not, I assume I should just stay away from them outside of <code>.vscode</code>?</p>