How to skip line number for a block of code

I am trying to use MathJax in CM and wondering if I could ignore/remove line style for certain blocks. In this case math is working if the equation is in a sigle line. However, when it spans to multiple lines, the math view is NOT enforced. For. e.g.
This works:
\begin{equation}x+1\over\sqrt{1-x^2}\label{ref2}\end{equation}

This is not:
\begin{equation}
x+1\over\sqrt{1-x^2}\label{ref2}
\end{equation}

Appreciate any comments or pointers

I don’t know what you mean by ‘math view’. If this is produced by an addon, try asking the authors of the addon.