This is a question with a "Don't do that, then" answer.
It's a bad habit to acquire, try to avoid developing it. If you already have it, try to break it. Otherwise just accept the consequences of what you're doing.
Pasting text into a shell fills the input buffer with that text as if you typed it yourself, and any Ctrl-C or Ctrl-Z keystrokes or whatever else you type into the buffer after that won't be processed until what you've already pasted into the buffer is consumed. It's in the queue and has to wait.
Instead, paste your commands into a text editor, edit it as required, save it to a file, and then execute the script.
Alternatively, if you don't want to save the script in a temporary file for some reason, trigger your shell's command line editor mode, paste the commands into the editor, edit it, then save and exit to have those commands executed. This is effectively a way of avoiding the undesirable consequences of pasting bulk text into a shell.
In bash, the editor mode is called edit-and-execute-command and is invoked with Ctrl-XCtrl-E. It will try to run either $VISUAL, $EDITOR, or emacs (in that order) to edit the current input line - so it's not just useful for copy-pasting, it's also useful for editing lines from history. Some other shells (e.g. zsh) have a similar feature.