Added support for comments in .dat files in refdb