adjust comment regex to maintain line numbers