GLib.ScannerConfig.skip_comment_single

ScannerConfig.skip_comment_single: Number(guint) (Read / Write)
  

specifies if single-line comments are skipped and not returned as tokens (the default is true).