Using comfrey to treat wounds should be avoided.
It will heal from the top down, which can trap dirt etc. under the skin, leading to infection/stop infections from draining.
You're probably ok using it on your thumb if it's a shallow wound just make sure it's clean.
But to be safe people should really only use comfrey for treating muscle injuries or broken bones where the skin is not broken