you can remove comment via file.comment.remove function
file.comment.remove
const json = require("jsonbyte"); const file = new json("./file.json") file.comment.remove("commentKey").save();
Last updated 2 years ago