In this paper we give some sufficient conditions for the vanishing of the genus-2 G-function, which was introduced by B. Dubrovin, S. Liu and Y. Zhang in [DLZ]. As a corollary we prove their conjecture for the vanishing of the genus-2 G-function for ADE singularities.