This is not evidence that overwritten and deleted comments could be restored to the original state. Moreover, that points to the original source code of Reddit, not the current code of Reddit.
This is also not evidence that deleted or overwritten and deleted comments have been restored. This is merely evidence that, at one time, this is how deleted comments used to be handled.
All this is evidence of is, as you put it, things are very strange in the code.