Preheat your cooking surface. For roasting, preheat the oven to 450°F / 230°C. For grilling, heat a charcoal or gas grill to medium-high.
Season the asparagus.
In a bowl or on a baking sheet, toss the trimmed asparagus spears with olive oil or melted butter, ensuring they are lightly coated.
Sprinkle generously with salt and pepper.
Cook the asparagus. To roast, spread the asparagus in a single layer on a roasting pan. To grill, place the spears directly on the grates, perpendicular to the bars to prevent them from falling through.
Roast or grill for 10 to 15 minutes, turning the spears once or twice, until they are tender-crisp and lightly browned. The thickest part of the stalk should be easily pierced with a knife.
Serve immediately.
Transfer the cooked asparagus to a platter and serve hot with fresh lemon wedges for squeezing over the top.
When grilling thin asparagus spears, skewer them together in small bundles or rafts to make flipping easier and prevent them from falling through the grates.