'#' is the comment character of the Bourne shell and therefor also for derived shells such as 'bash'. It's a feature, not a bug :-)