Results 3 comments of Leonid Shifrin

The official formatter might be a more future-proof solution in the long term. OTOH, for my version, in principle it should be easier to write extensions with specific formatting rules...

Yes, right. There is the simplified CodeFormatterMakeBoxes inside the package, which I introduced specifically for handling such cases. Use it instead of MakeBoxes for your expression, and (hopefully), it will...

Yes, comments are currently not handled by the formatter. I know how to do this, it is relatively straight-forward. Hopefully, some time soon :)