3 Answers
Real power losses in a transmission line mainly occurs due to line resistance (ignoring losses due to leakage current, corona (if present) etc). However amount or value of inductive and capacitive line reactances present will affect the real power losses. Note, however, that reactive power consumption/generation occurs with inductive/capacitive reactances in a transmission line, they are called reactive losses.
Power loss cannot occur due to the capacitance or inductance present in the transmission line; it can only occur due to the resistance in the transmission line. The capacitance and inductance present in the line however can trap energy in their electric fields and magnetic fields.