title: What happens when you select JSON with Comments as the Language Mode on VSCode?
body: <p>When the Language Mode is set to JSON (auto-detects based on file extension), I get the error:</p>
  
  <p><a href="https://i.stack.imgur.com/iwmq5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iwmq5.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/A7hvj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/A7hvj.png" alt="enter image description here"></a></p>
  
  <p>But if I set it to JSON with Comments, the error is gone:</p>
  
  <p><a href="https://i.stack.imgur.com/LyQCS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LyQCS.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/cnnxy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/cnnxy.png" alt="enter image description here"></a></p>
  
  <p>What I want to know is what is happening exactly when I set it to <code>JSON With Comments</code>:</p>
  
  <p>It's pretty obvious that VSCode stops complaining about comments in JSON files.</p>
  
  <p>But are the comments removed when some package needs to read those files?
  I usually need to comment inside configuration files like, for example:</p>
  
  <ul>
  <li>.eslintrc.json</li>
  <li>firebase.json</li>
  </ul>
  
  <p>Am I risking "corrupting" a configuration file by commenting on it? Is it something safe to do?
  In my examples, would <code>eslint</code> and <code>firebase</code> ignore the comments? How does it work?</p>