The end-credits theme "He's a Pirate" is an instrumental orchestral track composed by Klaus Badelt (with Hans Zimmer's team). No boy sings it. The franchise's main vocal song, "Yo Ho (A Pirate's Life for Me)" (from the ride/film chorus), is sung by a male ensemble—not a solo boy.
If you're thinking of a specific scene (e.g., young Will Turner humming), no such canonical moment exists. The music is purely instrumental or choral.