using stoke theorem, integral F. dr = double integral curl F dS

this integral is along the closed curve dr, dS boundary is the closed curve dr.

dS may be arbitrary. (there is no volume)

double integral curl F dS = triple integral grad (Curl F) dxdydz =0

this integral is along volume dxdydz and surfase dS surounds this all volume.