Most people know and understand that links to screenshots (or pastebins) of code or error messages are unacceptable in both questions and answers. The rationale is easy: one can simply copy and paste that code/error message directly into the question.
However, I have seen and used links to pastebins in comments. So far, I've only seen this practice in questions about assembly because code, error messages, and debugging efforts tend to have long outputs. Is this acceptable to do? I understand that links to content is generally a bad thing, but on the other hand comments just don't support copy and pasting long pieces of code and error messages.
Examples of questions with pastebin links in the comments: MASM32 program to tell if strings are different or the same, NASM and clang/LLVM generating different object files.