In noise-sensitive applications, series resistors at fast digital output pins, right at the driving source, help. Usually just some 47R is enough. In case of LED, this would double as the current-limiting resistor. Placement at the driver, not at the LED, would offer some EMI benefit but the difference would be small.