"Gifts to Putin will not bring peace or any benefit to the civilised world," Zelenskiy wrote on the X social media platform.
The official added that certain routes through Hormuz would remain open, but added that those would need to be determined as secure by Iran.
Afghanistan is not exempt from Russia's gasoline export ban, but Belarus can continue supplies.