Is He Who Remains a Marvel Comics character? You’re right. In the comics (first appearing on Thor 245 of 1976), He Who Remains has some resemblance to what we saw in Loki; both are sort of the ‘final boss’ of TVA, which is present in Citadel at the end of time. The difference, however, is that the One Who Ever Lived to See Loki was clearly different from Kang the Conqueror, and to kill the One Who Always Set Kang – and all the variety – is loose. He Who Remains in the comics also did a lot of damage, but he emerged as the oldest man and formed Time-Twisters, who ended up destroying the previous scene during the march. (Thor and Jane Foster eventually found out, and he is the One Who Prevents the Time-Twisters from appearing when they first see what kind of damage has been done.)
The character more similar to the one in Loki is actually Immortus.
The comic character you might be interested in learning about is Immortus, a different varient of old Kang Conqueror. Immortus, who first appeared in Avengers # 10 in 1964, is a variant of Kang cutting branches of time to try to maintain order; Kang strongly opposes this.
In Avengers Forever #3, Kang describes the differences between himself and Immortus.
“He calls himself the Master of Time! “Gardener of Time” is more truthful! He prunes away the chronal branches deemed by others to be dangerous, reducing reality to a bloodless meadow! But that’s not the way of warriors—of men! I say, let it be a forest! Let it be a jungle!”
That sounds … eh, almost exactly the same character we saw in episode 6 of Loki. So, as we’ve heard in the episode, and seen it in its closing moments, shit hits the fan. What else can we say now?
In short, we will have to repeat what He Who Remains / Immortus / Kang says about his last breath: “see you soon.”