Comments are attached to specific points on a node. You can use the convenience methods Append, Prepend, Replace, Clear, and All on these attachment points. When adding a line comment, include the // or /**/ markers; a newline is automatically rendered for line comments. Common attachment points include Start, End, Fun, Lparen, Rparen, Lbrace, Rbrace, etc.
call := f.Decls[0].(*dst.FuncDecl).Body.List[0].(*dst.ExprStmt).X.(*dst.CallExpr)
call.Decs.Start.Append("// you can add comments at the start...")
call.Decs.Fun.Append("/* ...in the middle... */")
call.Decs.End.Append("// or at the end.")