Geometry of singular structures in magnetohydrodynamic flows