Skip to content

Instantly share code, notes, and snippets.

@MoOx
Last active May 29, 2025 15:36
How to make comment in JSON file
{
"//field": "These 'double quote' 'double quote' are used as comments, because JSON doesnt' allow comment",
"field": {},
"#another-field": "Another comment",
"another-field": {},
"/*stuff": "Be careful to use them when you have full control of the content :)",
"stuff": [],
"bla": "bla"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment