I think the fundamental problem here is how many managers think of source code as an instruction manual on both the art of development and on how they do business.
So if they have a piece of code, however pathetically trivial, they follow the logic that there is, within the code, both the information necessary to produce a new developer capable of writing that code or similar code, and an explanation of how their business works (in a rich, meaningful way) and why the code was designed that way in the first place.
Their view on AI is also typically informed by the hype that it is somehow "intelligent" in the way that developers are reckoned to be, and that AI is as intelligent as the most intelligent developers out there.
It is from these ludicrous opinions that they proceed to think that AI can successfully explain a piece of code and answer arbitrary questions about it, in a way that an average developer cannot quickly do for themselves or in a way that eliminates the need for a skilled and familiar developer on their staff.
Now code commentary has only one function. It is to introduce design information, readable by the developer, which would not otherwise be recorded in the code at all (because it is not necessary for computer execution, it is only relevant to the developer engaged in design or re-design).
Sometimes commentary pulls together information that seems to be present latently in the code once you know to look for it, but the problem is that it is spread diffusely and with no visible sign of the connection - the purpose of the commentary is still to introduce new information that is not in the code itself.
Perhaps occasionally, it is to draw the attention of the developer to a specific pitfall which would otherwise get hidden amongst the thickets of code.
So understanding that the purpose of comments is to record things that the code otherwise doesn't record, there is absolutely no reason to think AI will make code commentary redundant, unless your commentary was already unnecessary.
Because an AI, in analysing the code, certainly cannot extract more from it than a skilled developer who is concentrating on reading it. And by waffling about the code, it certainly does not help to highlight pitfalls or important features either, but simply buries them in a different haystack.
Those who study software history will find that there is hype every few years about techniques which are supposedly "intelligent" and will eliminate the need for skilled developer labour. Yet there are more developers than ever before.
The curse of studying history, of course, is to be doomed to stand by and see the same mistakes made over.