Strip comments when looking for number values.