Actually, they play the entire song during the “Last supper” scene (when Painless Potter is planning suicide).
Interesting sidenote: the lyrics of the song were written by Mike Altman, Robert’s son. When MASH was made into a TV series, Robert Altman didn’t get a penny, but Mick was paid royalties for using the song on every episode (even though they were never sung).