Where unfeasible, this commit adds inline comments to explain why try-with-resources must not be used in certain scenarios. The purpose of the comments is to avoid accidental conversion to try-with-resources at a later date. Closes gh-27823
Where unfeasible, this commit adds inline comments to explain why try-with-resources must not be used in certain scenarios. The purpose of the comments is to avoid accidental conversion to try-with-resources at a later date. Closes gh-27823