You should never use/assemble damaged components. But if components are assembled undamaged and then machine soldered and they come out of the wave soldering machine / reflow oven with a small damage, then it is good to know what is maximum permissible. This can be found in IPC-A-610 and in J-STD-001 standard.