strbuf: avoid static variables in strbuf_add_commented_lines()