You can see your own comment history on YouTube, but others can’t. The only comment history that others can see is the 3 latest comments made on a channel if you are using a phone. And that feature was made to see the type of comments a person posts on that channel. Other than that feature which lets people see the 3 latest comments on the channel you commented there is no other way for people to see all of your comments.
(Other than the person’s channel you are commenting on can see all the comments you made on their channel by searching your name.)
To clarify, no one can see your full comment history on YouTube.