Mehrad :kde: :emacs: :rstats: on Nostr: I believe every data file format should also have a comment syntax, both line ...
I believe every data file format should also have a comment syntax, both line comments and inline comments.
TOML and YAML both support #, but two of the most common data formats, CSV and JSON don't. At least for CSV it is commonly accepted to consider # for CSV and // for JSON as comment, but we really need to standardize this for both these formats.
Published at
2026-07-08 13:53:26 UTCEvent JSON
{
"id": "48aa5f2b844077a9a4181e04c79b22ee2632fc3656666800d694d81fcc435352",
"pubkey": "c9eedd006de948c8c225e5736ed0a6ac4387b23993f88ae28a48a36ed71a74cf",
"created_at": 1783518806,
"kind": 1,
"tags": [
[
"proxy",
"https://fosstodon.org/@Mehrad/116884688508541579",
"web"
],
[
"proxy",
"https://fosstodon.org/users/Mehrad/statuses/116884688508541579",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://fosstodon.org/users/Mehrad/statuses/116884688508541579",
"pink.momostr"
],
[
"-"
]
],
"content": "I believe every data file format should also have a comment syntax, both line comments and inline comments.\n\nTOML and YAML both support #, but two of the most common data formats, CSV and JSON don't. At least for CSV it is commonly accepted to consider # for CSV and // for JSON as comment, but we really need to standardize this for both these formats.",
"sig": "040ef16f97abec822d44de4f3857e8f4eece46dcef53f4249a600ee1a5445db133a9c2721ce21261e041e2f7f6a6ec4739465c3f3f4a5f8d90c8e80e250dfd12"
}