pub fn encode_comments(comments: &[Comment]) -> Result<String>
Encode an array of comments into TOON.