Black holes and quantum theory on manifolds with singular potentials