Yeshayahu / Isaiah 40:1 · Pshat
נַחֲמוּ נַחֲמוּ עַמִּי יֹאמַר אֱלֹהֵיכֶם׃
Comfort, comfort My people, says your Almighty.
Pshat פְּשָׁט
Comfort, you prophets
This haftarah, the reading from the Prophets, opens the seven weeks of comfort after the fast of the Ninth of Av. The commentators explain to whom "comfort" is said and why the word comes twice.
Rashi: from here to the end of the book of Yeshayahu (Isaiah) are words of comfort. "Comfort" is addressed to the prophets: comfort, My prophets, comfort My people. Ibn Ezra: the passage comes right after the prophecy that the king's treasures and his sons will go to Bavel (Babylon). The repetition "comfort, comfort" speaks of haste, or of comfort moment after moment.
How Rashi and Ibn Ezra explain it
Rashi Comfort, comfort
He returns to his prophecies of the future. Since from here to the end of the book are words of comfort, he set this passage apart between them and the calamities. Comfort, you My prophets, comfort My people.
Ibn Ezra Comfort, comfort My people
This passage is placed here because above he mentioned that all the king's treasures and even his sons will go into exile in Bavel. So after this come the comforts.
Ibn Ezra Comfort
The word "comfort" is the words of the Eternal to His prophet or to the great ones of the people. And the meaning of twice is haste, or moment after moment.
Takeaway
Just before, Yeshayahu tells King Chizkiyahu: all that is stored in your house will be carried off to Bavel, and of your sons some will be taken as servants in the palace of the king of Bavel (Yeshayahu / Isaiah 39:6–7).
The Shabbat on which this haftarah is read is called "Shabbat Nachamu", after its first word, "comfort" (נַחֲמוּ).
Targum Yonatan reads it the same way: "Prophets, prophesy comforts concerning My people."