The commander of foreign operations by Iran's elite Revolutionary Guards has shrugged off reports of his death or injury in fighting in Syria, an Iranian news agency said.

Suggestions that General Qassem Soleimani had been hurt or killed were widespread in recent weeks. The Guards denied them repeatedly and said they were part of a "psychological war".

"This [martyrdom] is something that I have been seeking in the plains and the mountains," the general was quoted as saying by Tasnim news agency in comments he reportedly made at his Tehran office yesterday.

Exiled Iranian opposition group Mujahedin-e-Khalq said he had suffered severe shrapnel wounds on Aleppo's southern front in Syria two weeks ago and had been hospitalised in Tehran.

As commander of the Quds Force, which plays a leading role in fighting in Iraq and Syria, the general reports directly to Iran's Supreme Leader Ayatollah Ali Khamenei.

Once a reclusive figure directing covert operations abroad, Soleimani now enjoys almost celebrity status among Shi'ites, with Iraqi fighters and Syrian soldiers posting selfies with him from the battlefield on social media.

He played a role in organising Iraqi militias to fight Islamic State after the group captured large swathes of the country last year.

He is also credited with delivering the strategy that has helped Syrian President Bashar al-Assad turn the tide against rebel forces.