The first part of the description of the Petrified condition says (PHB, p. 291; emphasis mine):
- A petrified creature is transformed, along with any nonmagical object it is wearing or carrying, into a solid inanimate substance (usually stone). [...]
But what happens to magical objects worn or carried by a character when it is petrified?
As a DM, I'd rule that any such magical objects are not petrified, and remain somewhat intact (inside the stone backpack, magical sword in scabbard, potion still magical in a probably non-magical glass, etc.). This fits my style, but is there somewhere something resembling an official ruling? I could not find anything about it.