Broken parts should be marked clearly and unambiguously so that no one uses them once again by mistake.
Actually, broken parts should be thrown away. If for some reason, e.g. for a subsequent data recovery, you have to keep them, you need to mark them clearly.
If it is determined that the cable is bad, it makes sense to cut it in two immediately.
On the larger parts, you can draw a cross with a marker (it is better to mark all the sides). In such a way we keep old power supply units in case the connectors will be needed or hard drives queued for secure erase.
Another option is to tape over the connector, for example, if one port of the router has burned but the rest are working and you don't want to throw out the entire router.