In this paper, we generalize Liouville type theorems for some semilinear partial differential inequalities to sub-Riemannian manifolds satisfying a nonnegative generalized curvature-dimension inequality introduced by Baudoin and Garofalo in [5]. In particular, our results apply to all Sasakian manifolds with nonnegative horizontal Webster-Tanaka-Ricci curvature. The key ingredient is to construct a class of “good” cut-off functions. We also provide some upper bounds for lifespan to parabolic and hyperbolic inequalities.