I'd like to write a shell script to optionally view files without comments (which sometimes take a lot of space so that it becomes difficult to see the lines active in a config file, etc.) and this naturally requires including a number of different commenting marks for different mimetypes. I thought I could easily find it on the Internet, but I couldn't.
I'd appreciate very much if some one can direct me to such a source (or perhaps list several most common ones properly - e.g.
#TEXT for mimetypes "ABC;DEF;GHI;",
<!--MULTILINETEXT--> for mimetypes "JKL;MNO", and so on).