I don't think so. Consider the $\mathbb{Z}$-module $M$ be the additive subgroup of the rationals consisting of rationals with square-free denominator.