The multivariable Cox proportional hazards models indicated that the independent factors related to OS were pretreatment NLR (adjusted HR = 0.052; 95% CI: 0.006–0.489; p = 0.010) and PD-L1 expression (adjusted HR = 0.218; 95% CI: 0.061–0.782; p = 0.019), while those for PFS were pretreatment NLR (adjusted HR = 0.259; 95% CI: 0.082–0.816; p = 0.021) and adenocarcinoma histology (adjusted HR = 0.052; 95% CI: 0.003–0.832; p = 0.037). This evidence concerns the gene CD274 and adenocarcinoma.