The assertion is false. For , take the affine hypersurface
It is an integral scheme, and its only possible singular point is the origin, which has codimension two. Hence it is regular in codimension one; as a hypersurface it satisfies Serre's condition , so the Serre criterion for normality also makes it a normal scheme. The Divisor class group of an A-type surface singularity is
generated by . Thus a closed affine subscheme satisfying can have nonzero torsion in its class group.