To include latex code in a comment, use the code \$ latex code\$, only without the space between the first dollar sign and the word ‘latex’, and with your code in place of the word ‘code’. So, for example, \$ latex \mathbb{Z}\$ without the space would display as $\mathbb{Z}$.