How can I remove the banner comment when writing JSON data

The LjWriterSettings class has a WriteBannerComment property, setting this value to false will omit the banner comment from the top of the JSON document.

For example:
MyElementClass elmCls = ...;
LjWriterSettings ljs = new LjWriterSettings { WriteBannerComment = false };
            
using (StreamWriter jWriter = new StreamWriter("MyXmlFile.json"))
{
    serializer.Serialize(writer, elmCls, ljs);
}

Note: The banner comment can not be turned off in Trial or Community mode.