removed duplicate pre-commit and add the option to remove comments from dump-file for easier change tracking