To the right of the meme or gif you want to turn into a Click to show, there's a gray box that says "Show embed codes." Click that, highlight and copy everything from the middle box (BBCode), and then paste that into a comment.
Then you just clean it up by deleting everything in brackets before the "https:" and everything in brackets after the ".jpg" so it comes out like this: