added an option to comment the code, i.e. --type comment