If there's room, you could look at stoppling the line. TDW is one company that does this. It involves installing a hot tap fitting between the tank and your block valve and then inserting a temporary plug in the line. Then, the block valve can be removed and replaced and the plug is then removed.
However, you might not have physically enough room to do this.
There's also the technology of plugging the line by freezing the contents using liquid N2 on the outside. While I know it's done for hydrocarbon services (and others), I suspect you can't do this for piping in the vertical as your piping likely is.