updated comment handler for generic comment character string (closes #55)