This query returns the linked list of your comments (along with score and post where you've posted them) partially matching the entered comment text. Search is not case sensitive. The UserID parameter is your user ID (by default prefilled with your user ID) and the CommentText is the text which you want to search for.
Q&A for professional and enthusiast programmers
DECLARE @CommentText nvarchar(600)