Add TOC filter if not in comment mode.