fix comment sanning for double dashes

fix for #725