Replace in Files is usually best to delete a block from multiple files in a directory or a directory tree. There can be selected the block in one of these files and opened next the Replace in Files window to search for the selected block and replace all found occurrences by an empty string for deleting it from all files or the block copied and pasted with additional one or more modifications in the Replace with edit area.
If the block to delete or replace varies a little bit from file to file, a regular expression Replace in Files may be used to delete or replace that block from all files of a directory (tree).
The deletion/replacement of a block from each file based on line numbers instead of block content requires the usage of a much slower script or macro solution on which each file in the folder must be opened, modified in the appropriate lines range and saved one after the other. Well, for deletion/replacement of the block from line 10 to 20 a Perl regular expression Replace in Files could be also used, but not if the block to delete/modify is from line 2,032,424 to line 2,032,434.
Best regards from an UC/UE/UES for Windows user from Austria