Aamir told newsmen at the residence of yesteryears' Bollywood actor Shammi Kapoor: "I just wrote it out of humour and if it has hurt the feelings of mine or Shahrukh's fans then I apologise to all."
The actor also said that he shares a healthy relationship with Shah Rukh Khan.
The actor had reportedly proclaimed that he has a dog by the name of "Shahrukh". The unflattering comment had sent shock waves through the film industry.
Commenting on the episode, Shah Rukh had said: "Earlier, people used to name their children after famous people. Somebody naming a dog after a known person is a new beginning in that direction. I don't have a copyright over this name if used non-commercially."