diff --git a/sequencer.c b/sequencer.c
index b89d5f2e34..16c1411054 100644
--- a/sequencer.c
+++ b/sequencer.c
@@ -4022,7 +4022,7 @@ static int make_script_with_merges(struct pretty_print_context *pp,
 		entry = oidmap_get(&state.commit2label, &commit->object.oid);
 
 		if (entry)
-			fprintf(out, "\n# Branch %s\n", entry->string);
+			fprintf(out, "\n%c Branch %s\n", comment_line_char, entry->string);
 		else
 			fprintf(out, "\n");