Summary

Yosef Karo Translation:Shulchan Aruch — Orach Chaim 565…

This is true both of an individual who has accepted an individual fast and an individual who is praying communally during a communal fast. The prayer leader who prays silently is the same as an individual in this respect and says it in "Shomea Tefila."
Rem"a: He says it prior to "Because you hear..." He does not finish the prayer with " [Blessed are You, God] who listens during a time of trouble.
Source: Wikisource

Get perspective with Kwize: daily news enlightened by great literature