Putting comments into IR

The ascii assembly form of llvm IR allows comments. Is there an IRBuilder
way to insert these into in-memory IR, so they will come out through
LLVMPrintModuleToFile?

I don't think IRBuilder supports this.

Would llvm::AssemblyAnnotationWriter work for your purposes?

vedant