Ed Sheeran has quit Twitter due to an incessant stream of negative comments about him and his music.

The singer-songwriter, who just headlined the Sunday night at Glastonbury Festival, said he had decided to stop using his account after realising that the tweets were "ruining his day".

While his feed, which has around 19.1 million followers, will remain open, he is only sharing pictures uploaded via Instagram.

Glastonbury 2017 Show all 48 1 /48 Glastonbury 2017 Glastonbury 2017 Ed Sheeran woos the crowd during his Pyramid Stage performance on the final day of the festival, 25 June 2017 PA Glastonbury 2017 PC Small wearing a fairy costume sits on top of her horse Sedgemoor who is wearing garlands as she and her colleague interact with the public at Glastonbury, 25 June 2017 Getty Images Glastonbury 2017 Barry Gibb performs on the Pyramid Stage at the Glastonbury Festival, 25 June 2017 AFP/Getty Glastonbury 2017 Festival-goers queue to charge their mobile phones at the Glastonbury Festival, 25 June 2017 AFP/Getty Images Glastonbury 2017 Rag'n'Bone Man performs on day 4 of the Glastonbury Festival, 25 June 2017 Getty Images Glastonbury 2017 Jamie Cullum performs on the Pyramid Stage during day 4 of the Glastonbury Festival, 25 June 2017 Getty Images Glastonbury 2017 Musician Jarvis Cocker plays a DJ set from a wooden tree structure in the Greenpeace are at Glastonbury Festival, 25 June 2017 Getty Images Glastonbury 2017 Dave Grohl of the Foo Fighters performs at the Glastonbury Festival, 24 June 2017 Getty Images Glastonbury 2017 One of the 'Lords of Lightning' harnesses high-voltage electricity in a performance during the Metamorphosis Show in the Arcadia area at the Glastonbury Festival, 24 June 2017 AFP/Getty Images Glastonbury 2017 Katy Perry performs on day 3 of the Glastonbury Festival, 24 June 2017 Getty Glastonbury 2017 Labour party leader Jeremy Corbyn addresses the crowd alongside Glastonbury organiser Michael Eavis on the Pyramid Stage as he makes a guest appearance at the Glastonbury Festival Site, 24 June 2017 Getty Images Glastonbury 2017 Labour Party leader Jeremy Corbyn meets festival goers as he visits the Green Fields at the Glastonbury Festival site at Worthy Farm in Pilton, 24 June 2017 Getty Images Glastonbury 2017 Craig David performs on the Pyramid Stage at the Glastonbury Festival, 24 June 2017 AFP/Getty Images Glastonbury 2017 Gabrielle Aplin performs on the Other Stage during day 3 of the Glastonbury Festival 2017 at Worthy Farm, Pilton, 24 June 2017 Getty Images Glastonbury 2017 Lights illuminate the Glastonbury Festival site at Worthy Farm at night in Pilton, 23 June 2017 Getty Images Glastonbury 2017 The Flaming Lips perform on The Park Stage at the Glastonbury Festival, 23 June 2017 AFP/Getty Images Glastonbury 2017 People gather to watch the Arcadia landing show at the Glastonbury Festival site at Worthy Farm in Pilton, 23 June 2017 Getty Images Glastonbury 2017 Lorde performs on day 2 of the Glastonbury Festival 2017 at Worthy Farm, 23 June 2017 Getty Images Glastonbury 2017 Thom Yorke of Radiohead performs on the Pyramid Stage at the Glastonbury Festival of Music and Performing Arts on Worthy Farm near the village of Pilton in Somerset, South West England, 23 June 2017 AFP/Getty Images Glastonbury 2017 Romy Madley Croft and Oliver Sim of the XX perform on day 2 of the Glastonbury Festival 2017 at Worthy Farm, Pilton on June 23 Getty Images Glastonbury 2017 Former Labour MP Ed Balls attends Glastonbury Festival on 23 June 2017 Getty Images Glastonbury 2017 Dua Lipa performs on the John Peel Stage on day 2 of the Glastonbury Festival 2017 at Worthy Farm, Pilton on June 23, 2017 Getty Images Glastonbury 2017 Revellers dance as they listen to Circa Waves perform on the Other Stage at Worthy Farm in Somerset during the Glastonbury Festival in Britain, June 23, 2017 Reuters Glastonbury 2017 Festival goers at Glastonbury Festival Site on June 21, 2017 in Glastonbury, England Getty Glastonbury 2017 Revellers observe a minute of silence, in honour of those affected by recent events in Manchester and London, in front of the Pyramid Stage at Worthy Farm in Somerset during the Glastonbury Festival in Britain, June 23, 2017. REUTERS/Dylan Martinez Reuters Glastonbury 2017 Festivalgoers watching Blossoms on the Pyramid Stage at the Glastonbury Festival, at Worthy Farm in Somerset PA Glastonbury 2017 epa06045655 Festival-goers attend the Glastonbury Festival of Contemporary Performing Arts 2017 at Worthy Farm, near Pilton, Somerset, Britain, 23 June 2017. The outdoor festival runs from 21 to 25 June. EPA/NIGEL RODDIS EPA Glastonbury 2017 Actor Johnny Depp poses on a Cadillac before presenting his film ‘The Libertine’, at Cinemageddon at Worthy Farm in Somerset during the Glastonbury Festival Reuters Glastonbury 2017 Fans cheer as American actor Johnny Depp makes his entrance at Cinemageddon during the Glastonbury Festival at Worthy Farm, near Pilton, Somerset EPA Glastonbury 2017 US actor Johnny Depp attends the Cinemageddon event as part of the Glastonbury Festival of Contemporary Performing Arts 2017 at Worthy Farm EPA Glastonbury 2017 Cineramageddon ushers Daisy Peters (left), from Shepton Mallet, and Tamsin Walton, from Pilton, before an appearance by Johnny Depp for a screening of The Libertine, during the Glastonbury Festival PA Glastonbury 2017 Festival-goers pose at the Glastonbury Festival of Contemporary Performing Arts 2017 at Worthy Farm on 22 June EPA Glastonbury 2017 Revellers sleep in front of a food stand at Worthy Farm in Somerset during the Glastonbury Festival on 22 June, 2017 Reuters Glastonbury 2017 An aerial view of the Glastonbury Festival site at Worthy Farm in Pilton, Somerset on 22 June, 2017 PA Glastonbury 2017 People gather to watch the sun set as temperatures reach record levels at the Glastonbury Festival at Worthy Farm in Pilton on 21 June, 2017 Getty Glastonbury 2017 Festival goers enjoy themselves as the gates open at the Glastonbury Festival amid heightened security at Worthy Farm in Pilton Getty Glastonbury 2017 A festival goer arrives at Glastonbury Festival Site on 21 June in Glastonbury, England Getty Glastonbury 2017 A festival goer at Glastonbury Festival Site on June 21, 2017 in Glastonbury, England Getty Glastonbury 2017 Festival goers enjoy themselves as the gates open at the Glastonbury Festival amid heightened security at Worthy Farm in Pilton on June 21, 2017 near Glastonbury, England Getty Glastonbury 2017 Festival goers at Glastonbury Festival Site on June 21, 2017 in Glastonbury, England Getty Glastonbury 2017 Revellers sing and dance by the Stone Circle at Worthy Farm in Somerset Reuters Glastonbury 2017 Festival founder Michael Eavis arrives to attend a screening of film maker Julian Temple's Glastonbury documentary Getty Glastonbury 2017 People attend a screening of film maker Julian Temple's Glastonbury documentary being shown at the new night time area Cinemaggedon on June 21, 2017 Getty Glastonbury 2017 People attend a screening of film maker Julian Temple's Glastonbury documentary being shown at the new night time area Cinemaggedon on June 21, 2017 Getty Glastonbury 2017 People gather to watch the sun set as temperatures reach record levels at the Glastonbury Festival at Worthy Farm in Pilton on June 21, 2017 Getty Glastonbury 2017 The sun sets at the Glastonbury Festival 2017 at Worthy Farm in Pilton on 21 June, 2017 Getty Glastonbury 2017 Fireworks illuminate the night sky at the end of the first day at the Glastonbury Festival on 21 June Getty Glastonbury 2017 A reveller smokes by the Stone Circle at Worthy Farm in Somerset during the Glastonbury Festival on June 22, 2017 Reuters

"I've actually come off Twitter completely. I can't read it," he told The Sun. "I go on it and there's nothing but people saying mean things. Twitter's a platform for that. One comment ruins your day. But that's what I've come off it.

"The head-f*** for me has been trying to work out why people dislike me so much."

Sheeran's last Twitter posts were made after his Glastonbury performance, where he first criticised people who thought he was using a backing track when in fact he had his usual loop station set-up.

While our critic did know what a loop station was, he still wasn't a huge fan of the performance and awarded it two stars, against four from the Guardian and five from The Telegraph.

Sheeran added in his last proper tweet: "Anyway, great night, great atmosphere, family, friends, fun. Love you all."