Dropping 120 volts or so through a resistor is pretty inefficient (half a watt or more). If you do it with a capacitor the LED will still light but it won't get hot.
You still need the diode or a R/G LED that glows yellow on AC


Greg Fretwell