Preheat the air fryer. Set it to 400°F and let it run for 3 minutes while you season the broccoli.
Dry the broccoli. Wash the florets, then pat them very dry with paper towels or spin them in a salad spinner. Wet broccoli steams instead of crisping.
Season. In a large bowl, toss the dry florets with olive oil, garlic, salt, pepper, and red pepper flakes until evenly coated.
Arrange in the basket. Lightly spray or brush the basket, then spread the florets in a single layer with space between them, cut side down where you can. Do not pile them up — crowded broccoli steams. Cook in two batches if needed.
Cook at 400°F for 6 minutes. Then shake the basket well so new edges face the heat.
Cook 4 to 6 more minutes. The broccoli is done when the edges are browned and crisp and the stems are tender when pierced with a fork. Total cook time is usually 10 to 12 minutes.
Finish and serve. Transfer to a bowl, toss with lemon juice and parmesan, and serve immediately. Broccoli loses its crispness as it sits, so get it to the table fast.