What happens if you tell GitHub it's JSON
{
"hello": "world" // I want my comments!
}
Use jsonc
as the language instead
{
"hello": "world" // I want my comments!
}
Or just tell GitHub it's JavaScript
{
"hello": "world" // I want my comments!
}
To allow
jsonc
rendering for JSON files in a GitHub Gist, give them the file extension.json5
.