I know magnetic field lines due to a circuit always form closed loops. Therefore $\nabla \cdot \vec{B}=0$ everywhere (even at points on the circuit). However due to singularity, magnetic fields are not defined at points on the circuit. Then how does it make sense to say $-$ divergence of "magnetic field at points on the circuit"?