Is it possible to comment on a .json file?

is it possible to comment a line on a .json file? like if its currentley not needed, and you dont want to remove it because you’ll need to use that line of code again later?

An everyday gamer, minecraft 1.0 veteran, and PVZ master
Dillan Bowman / Bowmand117

accounts:
Scratch - Bowmand117
Scratch - Bowmandalt
Scratch - Bowmand_test
Replit - DillanBowman
Github - Dillan bowman

Hi @DillanBowman thank you for your question.

No JSON is a data format, so you cannot add comments to it.

I would suggest making a copy of the JSON file and renaming it for use later.

3 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.