The movie star took aim at his fellow celebrities for uploading photos of themselves with Lee in the hours after his death was announced on Monday, November 12.
"So touched by all of the celebrities posting pictures of themselves with Stan Lee," he wrote in a tweet which has since been deleted. "No better way to commemorate an absolute legend than putting up a picture of yourself.
"If Stan impacted your life (ie. All of our lives) with his work, post his work that touched you the most. Posting a selfie makes his death about you and how cool you felt taking a picture with him."
The "Watchmen" star wrote: "Looks like you found a way to use others ways of mourning and their memories to draw some attention to yourself."
Morgan also deleted the tweet.
"While attempting to provide some unnecessary social commentary about the current selfie trend, I (in true a**hat form - thank you Jeffrey Dean Morgan) inadvertently offended many who were genuinely grieving the loss of a true icon," Hammer tweeted on Thursday. "I want to apologize from the bottom of my heart and will be working on my Twitter impulse control."