Yes that's correct, to minimize drag climb at 0G. I never said it's always better to climb on a gradient.
Going into 0G minimizes drag by lowering the induced drag component to zero. The parasitic drag is still there and will change with speed and the zoom/dive develops. The general rule is that going 0G minimizes the instantaneous drag and for a few brief moments allow the best rate of building energy
at the current speed. The thing is that the current speed will quickly change.
Since in a very steep climb (lets approximate to vertical) the speed is unsustainable and lowers, 0G is a good approximation to the most efficient zoom. In a shallow angle, 0G will send you on a ballistic-like course and at some point speed will not decrease and even start to increase (even before reaching max trajectory hight). From around this point, adding lift (1>G>0) will keep the total drag at a minimum which is sustainable for more than a moment - one essentially transits into a steady climb at the best climb speed. So typically the quickest way to gain energy is by zooming at a steep angle and 0G and then switching to a steady climb once the best climb speed is reached.
Going into a 0G dive
momentarily reduces the drag and builds up speed. This is often used in a fight when you only have a short moment available for building energy and there is no time for zooming up and slowing down to a good climbing speed, then accelerating again to maneuvering speeds. This is also a good disengaging maneuver when one is not in immediate danger. You both accelerate, waste less alt per gain in speed and burn less E when leveling vs. pushing down into a vertical dive (in 0G the angle steepens with time so eventually it will reach a vertical dive).