Typically hitting enter in the REPL will trigger an evaluation. But if you hit Ctrl-Enter, this goes into a multi-line editing mode.
If you paste multi-line content in the REPL that should automatically transition into multi-line editing. (Today it does not, and stays on the single-line prompt.)