The question is completely formulated in the title. It is about formatting of the comments here, rather than the Mathematica output, however.
Maybe I misunderstand your question, but why don't you use inline code which is marked by a beginning and ending backtick? To make
Integrate[x,x] you just have to type
There is a Formatting help page with specific instructions for comments.