BASH - Files - Display uncommented lines of a file

To list only the uncommented lines of a file:

grep -v ^# file.conf | grep -v ^$

where: