Show data from file without comments

grep

grep -v ^[[:space:]]*# filename
click the source code to copy install grep on any operating system with command-not-found.com