Lines with % deleted inside lstlisting environments

Author: obraunsdorfCreated Oct 23, 2025Updated Jul 4, 2026

Inside lstlisting environments, users might use "%" as part of source code, e.g. showing LLVM IR code examples. arxiv-latex-cleaner currently deletes those lines.

I would suggest an option to not delete comments inside of lstlisting environments

Source: google-research/arxiv-latex-cleaner