Does a M.2 card need a heat sink?

For performance it won’t matter very much in a desktop scenario, but for longevity of the controller chip it might, if done right. Have a look over here. On the other hand it won’t hurt much either.