I think in this case (and probably many others) there was a legitimate need that the author was trying to meet, and simply deleting the stricken-out section(s) would do harm, not good to the answer.
I think in most cases it would be better to state the intent more directly and specifically though:
After version Y
[...]
Versions X through Y
[...]
Before Version X
[...]
As the original author implied, there may eventually come a point at which the older information simply becomes superfluous, but there's a fair amount of judgement needed in deciding when you've reached that point. The basic question at hand is whether there's any reasonable possibility of anybody finding that information useful any more. Given how recently I've helped people out with information about (for one example) a Control Data mainframe that was last manufactured in the 1980's (and seen others who cared about even older systems) I find it hard to be certain that such a point has been reached.
Given the (low) cost of storage, the primary reason to trim old information is to make it easier for the reader to find what's relevant. At least in most cases, that should lead one toward rearranging the content, so the most recent data is most visible (e.g., at the top of the answer) and older data (that's no longer as likely to be relevant) is made less intrusive (e.g., moved toward the bottom and eventually, perhaps, into a footnote where you can bracket it with <sup>old data</sup>
to further de-emphasize it.
As long as it's clearly demarcated so a current user is unlikely to waste time reading outdated information, there's little or no value in removing the older information, and some value in retaining it.
Summary
The ideal is to make the information that's most likely to be useful as easily accessible as possible, while still making older information accessible when/if needed.
this
. For version 5.3 upto 6, dothis this and this
. Etc..." But that's for this specific case. I don't think there is a need for a general rule, because I don't recall ever before having seen stricken out content that bothered me. So depends on multiple factors, and I don't think it would be useful or even doable to formulate a rulebook for dealing with this. Just trust your gut, clean-up a question if you're really certain, but always be careful that you don't delete too much.