Yes, it was a joke and, of course, it’s being used as a serious comment.
Our local NBC affiliate carried this as if Trump said this seriously. They have some anti-Trump thing on every local newscast. They were reporting glowingly on Hillary last night who was doing a $1,000 a person Fundraiser in San Antonio.