Ferrari team principal Stefano Domenicali has previously said that his team could attempt to sign the former world champion even if it means pairing him with Fernando Alonso again.
Hamilton and Alonso endured a tumultuous season together at McLaren in 2007 and many thought that they would not be able to work together again.
But Hamilton hinted that he may still be open to driving for Ferrari, although he says he has no plans of pursuing the switch at the moment.
"At the moment I don't have any plans to do so, it is not something I desire or feel that I have to do," he told Spanish newspaper AS.
He added: "But we are talking about a fantastic team and you never know what could happen in the future."
The British driver was also quick to praise Alonso, who is contracted to Ferrari until the end of 2016, for his ability and experience.
"Alonso is a very, very fast driver, incredibly fast, with extraordinary talent and incredible speed. You know that he will always give his best," Hamilton said.
"I learned a lot with him as a driver, I improved my driving thanks to having him as a team-mate."