When the Split Comments option is on, the formatter splits long comments that extend past the right margin.
For the previous example, if the Right Text Margin setting is 60, and Single-Semicolon comment indentation is 40, the formatter will split the comment as follows:
(if (/= s "Function canceled")
(princ (strcat "\nError: " s)) ;single
;semicolon cmt
)