Added support for comments in spectra