I don't think itch supports spoiler tags, but I remember seeing one game hack a spoiler tag into their comment section by applying some custom CSS to the strikethrough to block it out instead of striking it, which was an interesting approach, but not particularly discoverable.