No, comments of the form //…
or /*…*/
are not allowed in JSON. This answer is based on:
- https://www.json.org
- RFC 4627:
The
application/json
Media Type for JavaScript Object Notation (JSON)
- RFC 8259 The JavaScript Object Notation (JSON) Data Interchange Format (supercedes RFCs 4627, 7158, 7159)