implement InsertCommentstring functionality