# convention for marking LaTeX in programming comments?

Is there a convention for marking the beginning of LaTeX-based material placed inside the comments of (say) a C++ or Python program? Or does one simply jump into LaTeX syntax?

-
\begin{latex} :-) –  Andrey Vihrov Sep 27 '11 at 10:44
In python, you can use sphinx for documentation, which uses .. math:: for equations by default. –  eudoxos Sep 27 '11 at 15:20