add checking for # sign in conf file.
add checking for # sign in conf file.