Step 1: Understanding the Concept
Diamagnetic substances have all electrons paired and are weakly repelled by a magnetic field. Substances with unpaired electrons are paramagnetic or ferromagnetic.
Step 2: Check Each Option
\(\text{N}_2\) has all electrons paired in its molecular orbitals, so it is diamagnetic.
\(\text{F}_2\) also has all electrons paired, so it is diamagnetic.
NaCl is made of \(\text{Na}^+\) and \(\text{Cl}^-\) ions with filled shells, so it is diamagnetic.
Step 3: Identify the exception
Cobalt has unpaired d electrons and is ferromagnetic, so it is not diamagnetic, option (D).
Final Answer:
Cobalt is the substance that is not diamagnetic.
\[ \boxed{\text{(D) }\text{Co}} \]