Logical fallacy
Appeal to ridicule
An argument or conclusion is presented as worthy of mockery, and the mockery is offered as a reason to dismiss it. Humor or embarrassment does not demonstrate an error.
Examples
Public transit at midnight? What a joke. That is enough to reject the ridership study.
You can laugh at how the theory sounds, so it cannot predict the experiment.