Basically currently if there's some \iffalse ... \fi it will highlight the block as a comment, but \iffalse $ a \iff b $ \fi more content will also highlight more content as comment because it thought \iff needs to be matched.
Remark: generally TeX is not deterministically parsable anyway, but \iff is a very common case. Looking around, some less common ones are \ifcurrfiledir etc. (currfile package) or ifnot@nil (macros2e) .