Only validate code if it is not commented out
Use a resource file for creating a TeX gitignore

Current source file: Github TeX.gitignore
Delete all file types defined in tex.gitignore