When 'killing' my rock between tank builds I just did a heavy vinegar bath for a few days with powerhead running. The death that ensued was impressive. Huge bristle worms hanging limp out of their little caves. I KNOW these guys were killing my snails.
Then a good hosing off & picking at any obvious organics, a few days in tap water, then dried out and put in storage for a little while.
When I bought more rock for the new tank it was all Fiji dry rock, which comes with lots of dead stuff on it. (Kind of fascinating what you find actually.) So that got a careful picking & cleaning before going into tubs along with my already cleaned original rock. I had months to prepare, so I put in saltwater, heater and powerhead, covered the tops with insulation and let it run for a week. Took it all out, cleaned & scrubbed & rinsed. Put it back in and repeat.
Eventually there was no more gunk clouding the water, nothing left to pick off, and the rocks were fully cured. The tubs went through a cycle essentially. All in the dark so no algae at all. Now in the DT for over a year and still no uglies on the rock and no snail murdering worms around at all.