Function now takes 'comment_char' which specifies single line coomment string to prepend before any copypasta'dcode. Also bufgixes.