Whenever I try to put the comment $ $$ $$ $$ $$ $
on a site that supports LaTeX, it results in an empty comment. And it succeeds! Try it for yourself (I don't encourage spamming, delete the comment afterwards). Mathematics.SE and Puzzling.SE are examples. Codegolf.SE is not an example, as it doesn't support LaTeX.
$
s should be shown and no expressions will be evaluated. NOW, WHAT?\phantom{blabla}
,\quad
,\qquad
,\ \
,\color{white}{blabla}
, combinations of these, etc...\!
to get rid of the white space or simply write any white expression followed by a nice little\hspace{-500cm}
to make sure your white space disappear.$ $$ $$ $$ $$ $
) does not have any spaces, because MathJax suppresses them. It's also the simplest I've ever crafted.$ $$ $$ $$ $$ $
above and$\!\!\!\!\!\! $
below. There is definitely no difference. Anyway I hope that is not your main point... Because if you want to avoid empty comment, avoiding just one type of them makes little sense to me (either all or none).