Use \preformatted instead of \code . \code for inline code (works like `` on SO), and \preformatted for shorthand blocks (for example, indentation on SO).
#' \preformatted{ #' multiple
Note that the initial line break immediately after { will also be part of the code block, so you may need to delete it.
source share