Use *awk to remove comment lines that start with a '#' making it easier to view the actual configurations/settings
cat /path/to/file | awk '!/^#/ {print $0}' |
[Edit]
To remove the blank lines as well as the comments, alter the awk command to
awk '!/^#|^$/ {print $0}' |