Preheat your air fryer to 350°F (175°C).
Roll out the crescent dough and separate into triangles.
Spread a small amount of marinara sauce on each triangle, leaving edges clear.
Add shredded cheese and pepperoni slices if using.
Fold the triangles over to form pockets and press edges with a fork to seal.
Brush with egg wash and lightly spray with cooking spray.
Place in the air fryer basket and cook for 8-10 minutes or until golden brown and crispy.
Serve warm and enjoy.