utils: skip comment lines when parsing devices.txt