We consider partial differential equations of variational problems with infinite symmetry groups. We study local conservation laws associated with arbitrary functions of one variable in the group generators. We show that only symmetries with arbitrary functions of dependent variables lead to an infinite number of conservation laws. We also calculate local conservation laws for the potential Zabolotskaya-Khokhlov equation for one of its infinite subgroups.